home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / aiz451.zip / MS400.MOD < prev    next >
Text File  |  1988-08-17  |  6KB  |  150 lines

  1. Shared Interrupt Modification
  2. -----------------------------
  3.  
  4. Purpose:
  5. --------
  6.  
  7. This modification will allow a packet BBS using the CBBS, the W0RLI, the
  8. KA2BQE, or WA7MBL V3.x code to install 4 ports using only one slot and
  9. one interrupt request line (IRQ) on an IBM PC or compatible.  The change
  10. is nondestructive since no traces are cut and can be easily removed.
  11.  
  12. Hardware:
  13. ---------
  14.  
  15. The DFI MS-400 board provides 4 ASYNC ports and is available from
  16. several sources.  It comes in two flavors: XT and AT with the only
  17. difference being the 8250 versus the 16450 chips.  As shipped from the
  18. factory, the MS-400 requires one IRQ line per port.
  19.  
  20. Additional parts required are 4 small signal diodes (I used 1N914s
  21. from Radio Shack) and a 4.7K resistor (1/8 or 1/4 watt).
  22.  
  23. JDR MicroDevices carries (or at least did so on Nov 1st, 1987) the
  24. MS-400.  Their part number for the XT version is MCT-MS and it was priced
  25. at $80.  Address: 110 Knowles Drive, Los Gatos, CA 95030.  Their phone
  26. is (800)-538-5000 or (408)-866-6200 (for CA and non-US).
  27.  
  28. Planning:
  29. ---------
  30.  
  31. Unfortunately, you must plan your use of the ports since the exact
  32. placement of the parts is dependent on the change.  First determine
  33. how many ports will be for BBS use only and how many should be for
  34. general use.
  35.  
  36. Some possible variations are below.  Note that the numbers must
  37. be consecutive.
  38.  
  39.           Multipurpose ports          BBS Ports
  40.           ------------------          ---------
  41.                 none                  COM 3,4,5,6
  42.                 COM 2                 COM 3,4,5
  43.                 COM 1,2               COM 3,4
  44.  
  45.  
  46. These are not all the possible permutations.  In fact, two cards could
  47. be used to provide 8 BBS ports if you like.  Trying to explain how to
  48. set up all the possibilities would take many many pages of text.
  49.  
  50. The change outlined below forces all the BBS ports down IRQ2 leaving
  51. the standard COM1 and COM2 IRQ lines alone.
  52.  
  53. Carrying out the change:
  54. ------------------------
  55.  
  56. Example will use COM2 as a multipurpose port and COM 3,4,5 for BBS.
  57.  
  58.  
  59. 1.  Referring to your MS-400 booklet, set the address dip switches (SW1)
  60.     for the lowest port you want to use.  Example: COM2 (off off on).
  61.  
  62. 2.  Set the dip switches that select the IRQ lines for the multipurpose
  63.     ports ONLY!!  COM1 uses IRQ4, COM2 uses IRQ3.  Example: SW2 #2 is on
  64.     while all the rest are off.
  65.  
  66. 3.  Turn over the card to the side without the parts and locate the
  67.     pins that correspond to the dip switches SW2 and SW3.
  68.  
  69. 4.  For each BBS only port, solder a diode across the DIP switch
  70.     position that corresponds to IRQ2.  The cathode should be away
  71.     from the edge connector.  The diode makes the path that the switch
  72.     would have.  One way to find the exact position is to turn on IRQ2
  73.     for all the BBS ports and test for the proper pins with an ohm
  74.     meter.  Solder the diodes in place and then TURN OFF the IRQ2
  75.     switches.
  76.  
  77. 5.  Run a quick ohm meter test to make sure the diodes are in the
  78.     right spot.  The cathode ends of the diodes should all show
  79.     continuity between each other.  The anode ends should not!
  80.  
  81. 6.  Solder the 4.7K resistor between the cathode end of any diode and
  82.     ground.  There are several nearby ground lines that can be used.
  83.     I used pin 7 of the big 25 pin RS-232 connector for the first port.
  84.     Warning!!!  The broad trace around the edge of the card
  85.     is not ground.  It is +5 volts.  The ground lines will show
  86.     continuity to pin B3 (third from the left of the edge connector).
  87.  
  88. 7.  That's it.  You are ready for the smoke test.  As you can see,
  89.     the modifications are non-destructive.  Simply unsoldering the
  90.     diodes and the resistor will return the card to the factory state.
  91.  
  92. Software Changes:
  93. -----------------
  94.  
  95. No changes are needed to the mailbox programs themselves but the I/O
  96. routine must be setup.  You will need MBBIOS V2.0 or higher plus the
  97. accompanying customizer (MBBCONFG).
  98.  
  99. 1.  Execute MBBCONFG as per the instructions included with MBBIOS.
  100.  
  101. 2.  Put any multipurpose ports in the first slot (and second if needed).
  102.  
  103. 3.  Select the next slot.  On the port description panel, specify the
  104.     type as "B" ("Specified exactly"), put in the desired COM number
  105.     and hit enter.
  106.  
  107. 4.  On the exact specification panel, put the actual port type as "5"
  108.     ("Shared ASYNC Port").  Specify the address as shown below and the
  109.     interrupt number as "2"
  110.  
  111.               COM1  --  3F8         COM5  --  2F0
  112.               COM2  --  2F8         COM6  --  2E8
  113.               COM3  --  3E8         COM7  --  2E0
  114.               COM4  --  3E0         COM8  --  260
  115.  
  116. 5.  Repeat steps 3 and 4 for each BBS only port.
  117.  
  118. 6.  Exit the program using the "F3" key.
  119.  
  120. Running the code:
  121. -----------------
  122.  
  123. Before running your mailbox program, MBBIOS must be initialized.  MBBIOS
  124. should respond with an "MBBIOS ready" message.  The CBBS and W0RLI users
  125. should now issue an MBMODE for each port the mailbox will use.
  126.  
  127. That's all folks!
  128.  
  129. Some notes:
  130. -----------
  131.  
  132. Thanks to K4NTA, KB6IRS, and W0RLI for supporting this work.
  133.  
  134. You are not restricted to the addresses shown above or IRQ2.  I used
  135. them to try and simplify matters for most people who won't care.
  136.  
  137. If you need some weird configuration or want to install more than one
  138. card, drop me a note either via U.S.  Mail, packet via AA4RE BBS, or
  139. COMPUSERV.  I can also be contacted through the IBM Radio Club.
  140.  
  141. If you are absolutely confused as to where the diodes go, send me an
  142. SASE with your desired setup and I will return a board layout with the
  143. pins needed marked.
  144.  
  145. Roy Engehausen
  146. AA4RE
  147. 8660 Del Rey Court
  148. Gilroy, CA  95020
  149.  
  150.